Q3MacDrawContext_SetGrafPort
You can use theQ3MacDrawContext_SetGrafPort
function to set the QuickDraw graphics port associated with a Macintosh draw context.
TQ3Status Q3MacDrawContext_SetGrafPort ( TQ3DrawContextObject drawContext, const CGrafPtr grafPort);
drawContext
- A Macintosh draw context object.
grafPort
- The QuickDraw graphics port to be associated with the specified draw context.
DESCRIPTION
TheQ3MacDrawContext_SetGrafPort
function sets the QuickDraw graphics port associated with the draw context specified by thedrawContext
parameter to the graphics port specified by thegrafPort
parameter. The two-dimensional graphics library associated with the specified draw context must bekQ3Mac2DLibraryQuickDraw
.